package com.ehome.poct.base.api.vo.log;

import com.ehome.core.entity.VO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 错误日志表VO
 *
 * @author 路飞
 * @Date 2021-12-22 11:26
 */
@Data
public class SyncLogRecordListVO extends VO {

    @ApiModelProperty("设备编号")
    private String sno;

    @ApiModelProperty("桶块位置")
    private String bucketName;


    @ApiModelProperty("日志批次")
    private List<BatchPath> batchPath;

    @Data
    public static class BatchPath {

        @ApiModelProperty("日志完整路径")
        private String ossPath;

        @ApiModelProperty("日志批次名称")
        private String batchName;

        @ApiModelProperty("日志大小")
        private Integer logSize;

        @ApiModelProperty("日志大小")
        private String logSizeStr;
    }
}
